package com.zhangc.blog.base;

/**
 * 功能描述:<br>
 *
 * @author wx:fdzhangc
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class BaseException extends RuntimeException {
    private static final long serialVersionUID = 2456284400370598515L;
    private String code;
    private String msg;

    public BaseException(String code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }

    /**
     * Gets the value of code
     *
     * @return the value of code
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the code
     *
     * @param code code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * Gets the value of msg
     *
     * @return the value of msg
     */
    public String getMsg() {
        return msg;
    }

    /**
     * Sets the msg
     *
     * @param msg msg
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
